package engine.newUi
{
	
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.tab.NxTab;
	import newx.com.control.text.NxLabel;

	/**
	 *背包（伪） 
	 * @author yanghr
	 * 
	 */	
	public class PackUI extends BaseUI
	{
		internal var control:PackLogic;
		
		public var group:NxViewGroup	/*=	new NxViewGroup();*/
		public var mcBG:MovieClip
		
		public var shopBtn:NxButton
		public var clearUpBtn:NxButton
		public var storageBtn:NxButton;
		
		public var page:NxTab;
		public var back:MovieClip
		public var custClip:MovieClip;
		public var countTxT:NxLabel;
		public var back01:Sprite,back02:Sprite,back03:Sprite;
		public function PackUI()
		{
			control=PackLogic.getInstance();
			super();
		}


		override public function Init():void
		{
			control.Init();
			
//			group.row		=	ROW;
//			group.col		=	COL;
//			addChild(group)
//			shopBtn=new NxButton("道具店");
//			clearUpBtn=new NxButton("道具整理");
//			storageBtn=new NxButton("仓库")
//			shopBtn.x=50;
//			clearUpBtn.x=120;
//			storageBtn.x=200;
//			addChildren(btnPanel,shopBtn,clearUpBtn,storageBtn);
//			btnPanel.y=300;
		}
		override protected function BeforeShow():void
		{
			control.BeforeShow();
		}
		override protected function AfterHide():void
		{
			control.afterhide();
		}
	}
}